Crackme 4 - Solution

//Distributer: http://cod3r.cjb.net
//Program Name: Crackme 4
//Programmer: n0p3x
//Date: 25th April 1999
//Version: 1


//FOREWORD
As usual, this program is really easy and was coded as an introduction to CD checks. Maybe later on in the series the CD check may be improved and maybe even made a lot more dificult. Their is allways the problem that i may make a program thats too hard for me to crack so we have to be carefull :-) This program is dedicated to my lovely girlfriend Carolyn.

//TOOLS
Softice / WDASM

//SOLUTION
1) Load the program. After clicking OK on the messagbox enter sice and type "BPX GETDRIVETYPEA".
2) Exit sice and in the crackme click on the re-test CD button.
3) Sice pops up. Press F12 to exit the windows calls. Then you should be on the line of code after the call to GetDriveType, and following the call should be a test and then a conditional jump.
4) Press F10 to step over the test and then type "A". Then type "NOP", and "NOP" again and enter to end the editing. Then clear all breakpoints and exit sice. Your program will now think it's being run from a CD.
5) The program will be uncracked once it is closed. To make changes permanent you need to patch the EXE file. I'm sure you know how to do this and i'm lazy so i'm not going to put it here.

//PERSONAL GREETS
- Carolyn : For being great.
- theForger : For a great tutorial.
- Duelist : For being interested in my crackmes.


//OTHER GREETS
#cracking4newbies on efnet : For being a cool place to learn.
Borland / Inprise : For giving me an alternative to Microsoft


//END BIT
Thanx for reading.
n0p3x